package com.example.devsa_platform.controller;

import com.example.devsa_platform.common.Result;
import com.example.devsa_platform.pojo.vo.stats.BaseInfoStatsVo;
import com.example.devsa_platform.service.BaseInfoService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/s1")
public class BaseInfoController {
    @Resource
    private BaseInfoService baseInfoService;

    @GetMapping("/baseInfoStats")
    public Result<BaseInfoStatsVo> baseInfoStats(){
        return baseInfoService.baseInfoStats();
    }

}
